package com.leo.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_supplier")
public class Supplier {
	@TableId(value = "supplierId", type = IdType.AUTO)
	private int supplierId;
	
	@TableField("supplier")
	private String supplier;//供应商名称
	
	@TableField("contacts")
	private String contacts;//联系人
	
	@TableField("phoneNum")
	private String phoneNum;//联系电话
	
	@TableField("email")
	private String email;//电子邮箱
	
	@TableField("description")
	private String description;//备注
	
	@TableField("isSystem")
	private int isSystem;//是否系统自带 0==系统 1==非系统
	
	@TableField("type")
	private String type;//类型
	
	@TableField("enabled")
	private int enabled;//启用
	
	@TableField("advanceIn")
	private double advanceIn;//预收款
	
	@TableField("beginNeedGet")
	private double beginNeedGet;//期初应收
	
	@TableField("beginNeedPay")
	private double beginNeedPay;//期初应付
	
	@TableField("allNeedGet")
	private double allNeedGet;//累计应收
	
	@TableField("allNeedPay")
	private double allNeedPay;//累计应付
	
	@TableField("fax")
	private String fax;//传真
	
	@TableField("telephone")
	private String telephone;//手机
	
	@TableField("address")
	private String address;//地址
	
	@TableField("taxNum")
	private String taxNum;//纳税人识别号
	
	@TableField("bankName")
	private String bankName;//开户行
	
	@TableField("accountNumber")
	private String accountNumber;//账号
	
	@TableField("taxRate")
	private double taxRate;//税率
	
	@TableField("tenantId")
	private int tenantId;//租户id
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除

	public int getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(int supplierId) {
		this.supplierId = supplierId;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier == null ? null : supplier.trim();
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts == null ? null : contacts.trim();
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum == null ? null : phoneNum.trim();
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email == null ? null : email.trim();
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	public int getIsSystem() {
		return isSystem;
	}

	public void setIsSystem(int isSystem) {
		this.isSystem = isSystem;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type == null ? null : type.trim();
	}

	public int getEnabled() {
		return enabled;
	}

	public void setEnabled(int enabled) {
		this.enabled = enabled;
	}

	public double getAdvanceIn() {
		return advanceIn;
	}

	public void setAdvanceIn(double advanceIn) {
		this.advanceIn = advanceIn;
	}

	public double getBeginNeedGet() {
		return beginNeedGet;
	}

	public void setBeginNeedGet(double beginNeedGet) {
		this.beginNeedGet = beginNeedGet;
	}

	public double getBeginNeedPay() {
		return beginNeedPay;
	}

	public void setBeginNeedPay(double beginNeedPay) {
		this.beginNeedPay = beginNeedPay;
	}

	public double getAllNeedGet() {
		return allNeedGet;
	}

	public void setAllNeedGet(double allNeedGet) {
		this.allNeedGet = allNeedGet;
	}

	public double getAllNeedPay() {
		return allNeedPay;
	}

	public void setAllNeedPay(double allNeedPay) {
		this.allNeedPay = allNeedPay;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax == null ? null : fax.trim();
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone == null ? null : telephone.trim();
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address == null ? null : address.trim();
	}

	public String getTaxNum() {
		return taxNum;
	}

	public void setTaxNum(String taxNum) {
		this.taxNum = taxNum == null ? null : taxNum.trim();
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName == null ? null : bankName.trim();
	}

	public String getAccountNumber() {
		return accountNumber;
	}

	public void setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber == null ? null : accountNumber.trim();
	}

	public double getTaxRate() {
		return taxRate;
	}

	public void setTaxRate(double taxRate) {
		this.taxRate = taxRate;
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}
	
	
}
